-
-
Notifications
You must be signed in to change notification settings - Fork 303
chore(deps): update nextra monorepo to v4 (major) #968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
❌ Deploy Preview for react-docgen failed.
|
6b6a66f
to
497309e
Compare
04cf297
to
b2e7358
Compare
73696e5
to
fa3fb7f
Compare
813923f
to
ae9ae23
Compare
8a479fc
to
882ad42
Compare
ee250ab
to
67c8a35
Compare
eb39416
to
7e3a091
Compare
29d44c0
to
d4728f9
Compare
751f17c
to
22ebe15
Compare
22ebe15
to
b2198a8
Compare
b2198a8
to
a566954
Compare
8a71298
to
3cd5038
Compare
37d556a
to
e1c7af3
Compare
2bec073
to
fbe15ad
Compare
fbe15ad
to
d672133
Compare
This PR contains the following updates:
3.3.1
->4.3.0
3.3.1
->4.3.0
Release Notes
shuding/nextra (nextra)
v4.3.0
Compare Source
Minor Changes
eed8328
: feat: adapt colors and icons from original GitHub alerts syntaxfeat: new Callout type
important
fix: inconsistent built-in Callout's icons size
feat: improve Callout's accessibility colors
0831a1b
: Add anonSearch
callback to the<Search />
component. Thiscallback, when specified, is called upon every search input change.
c93fc48
: update zod to v4feat(TSDoc): rename
generateDocumentation
togenerateDefinition
feat(Bleed): pass all props from
div
element toBleed
,Callout
,Banner
container
fix(TSDoc): improve TSDoc comments for components
Banner
Head
Search
Bleed
Callout
Cards
FileTree
Steps
Table
Tabs
Playground
TSDoc
Layout
Navbar
fix(TSDoc): improve TSDoc comments for functions:
nextra
generateDefinition
useMDXComponents
94b081c
: feat: refactor<Search>
component styles for improved transitionsand visibility
b5fab80
: addMDXRemote
component docs pagehttps://nextra.site/docs/built-ins/mdxremote
d9dd061
: updatetailwindcss
to4.1.10
andreact-compiler-runtime
to19.1.0-rc.2
c134abe
: feat: improve overall accessibility, makes text/colors easier to readand achieves WCAG Level AAA compliance in many places
83f6c57
: feat: introduce new<TSDoc />
componentThe
<TSDoc>
component fromnextra/tsdoc
generates a properties table thatdisplays:
description or the
@description
tag. You can use any Markdown/MDX syntaxhere.
@default
or@defaultValue
tag.
#
anchor link to the property row for easy reference.More info can be found in https://nextra.site/docs/built-ins/tsdoc
07debf9
: feat(TSDoc): support flattening return object fieldsfdeb5fe
: feat: add new Layout propfeedback.link
to customize feedback hrefPatch Changes
71f7b3f
: Update https://nextra.site/docs/guide/search pageFixes extra margin-top inside
Tabs.Tab
Fix breaking
<Steps>
component numeration when there is<Tabs>
componentinside
a070fdc
: Fix[object Object]
text on hovering breadcrumbs and paginationlinks
47ba5f3
: fix: useem
for padding-y, padding-x and border-radius styles of<Code>
elementfix(TSDoc): for return signature without
name
return mobile card instead oftable
feat: use
em
insteadrem
for margins40267dc
: splitTSDoc
component logic toTSDoc
component andgenerateDocumentation
functionupdate https://nextra.site/docs/built-ins/tsdoc documentation
b0dde33
: Fix collapse behaviour of sidebarnot collapse the section.
not cause it to collapse.
8ac2506
: chore: bumpbabel-plugin-react-compiler
andreact-compiler-runtime
, remove custom pnpm patch forbabel-plugin-react-compiler
8edc715
: fix phantom scroll when footer is disabledb2cba90
: improve TSDoc comments forgetPageMap
,generateStaticParamsFor
and
importPage
functions. Add new https://nextra.site/docs/guide/api page.d29469e
: support Next.js 15.3.02b18c66
: - Disable prefetch for sidebar/breadcrumb/pagination linkspagination links
6a82e6f
: - Fix: Receivedfalse
for a non-boolean attributeprefetch
.next-mdx-import-source-file
inturbopack.resolveAlias
option
4547eb9
: feat(TSDoc): add support for functions and functions with multiplesignatures
407e0c4
: feat(TSDoc): addTSDoc.noParametersContent
propa506e0b
: fixTypeError: page.generateMetadata is not a function
when usingwith
withSentryConfig
pluginUpdated dependencies [
eed8328
]Updated dependencies [
71f7b3f
]Updated dependencies [
0831a1b
]Updated dependencies [
b0afee7
]Updated dependencies [
c93fc48
]Updated dependencies [
47ba5f3
]Updated dependencies [
01ac538
]Updated dependencies [
94b081c
]Updated dependencies [
b5fab80
]Updated dependencies [
40267dc
]Updated dependencies [
ef35ab9
]Updated dependencies [
f717156
]Updated dependencies [
9f449e5
]Updated dependencies [
8ac2506
]Updated dependencies [
a6a1f97
]Updated dependencies [
fda0355
]Updated dependencies [
b2cba90
]Updated dependencies [
f40e018
]Updated dependencies [
d29469e
]Updated dependencies [
d9dd061
]Updated dependencies [
6a82e6f
]Updated dependencies [
c134abe
]Updated dependencies [
7de40fb
]Updated dependencies [
c7d25df
]Updated dependencies [
4547eb9
]Updated dependencies [
407e0c4
]Updated dependencies [
83f6c57
]Updated dependencies [
00f4696
]Updated dependencies [
31ddba4
]Updated dependencies [
07debf9
]Updated dependencies [
a506e0b
]Updated dependencies [
9690841
]v4.2.17
Compare Source
Patch Changes
a7db0e6
: fix: use correctReactNode
zod validation forLayout.footer/banner/editLink/feedback.content/toc.backToTop/toc.extraContent/toc.title/search
andNavbar.children/projectIcon/chatIcon
18e7fb9
: fix: allow overrideNextraConfig.mdxOptions.format
option innext.config
filev4.2.16
Compare Source
Patch Changes
2cfaacc
: fix: frozen spinner on loading state in search results by updating Tailwind CSS to v4.0.10v4.2.15
Compare Source
Patch Changes
5617e04
: fix: loading state in search results was only visible during the first searchv4.2.14
Compare Source
Patch Changes
ccb5da2
: removing custom nextra's scrollbar styles, allowing the browser's default scrollbars to be used05a202d
: fix: make search results appear above the navbarv4.2.13
Compare Source
Patch Changes
fc4035c
: add code block icon forsvelte
languagefc4035c
: increasez-index
for banner to30
to fix hidden banner when mobile nav is openv4.2.12
Compare Source
v4.2.11
Compare Source
Patch Changes
8805d3f
: - addoverflow: hidden
on<html>
element instead of<body>
to lock scroll when mobile nav is open10
to20
, in navbar from20
to30
Navbar.align
prop is set toleft
v4.2.10
Compare Source
Patch Changes
5c22495
: - addNavbar.align
prop to align navigation links to the specified side. (default'right'
)type: 'page', href: '...'
in_meta
filesv4.2.9
Compare Source
Patch Changes
31534cb
: addNavbar.className
propv4.2.8
Compare Source
Patch Changes
e610d1d
: fix type ofNavbar.children
, should beReactNode
, notReactElement
v4.2.7
Compare Source
v4.2.6
Compare Source
Patch Changes
a7906d1
]v4.2.5
Compare Source
Patch Changes
e6c3050
]v4.2.4
Compare Source
Patch Changes
b46d831
]7949e28
]v4.2.3
Compare Source
Patch Changes
ca67a19
: remove requirementpage.{jsx,tsx}
pages to have exportedmetadata
objectv4.2.2
Compare Source
Patch Changes
dd32eca
]v4.2.1
Compare Source
Patch Changes
5c51b49
: fix allow configuringtheme.toc
in_meta
file whentoc.float
is set tofalse
for pages withtype: 'page'
996b0b5
: fix: showScroll to top
linktoc.backToTop
whentoc.float: false
is setv4.2.0
Compare Source
Minor Changes
90b8c66
: allow configuringtheme.toc
withlayout: 'default'
in_meta
filesPatch Changes
0b0db89
: better animations for open/closed state for the<NavbarMenu>
component which is rendered withtype: 'menu'
in_meta
file427b080
: calculate--nextra-banner-height
after mounting banner, so banner text can be wrapped on multiple lines6b8053f
: fix a sudden height jump on opening for<detail>
element when his last children contain margins5d1e75b
: add the missingtransition-opacity
style for the<BackToTop>
componentb0e686e
: hide default<summary>
arrow on mobile2b0b434
: add the missingcursor-pointer
style in the<BackToTop>
componentbcc34cc
: reduce main area padding x to from24px
to16px
like in next.js docs427b080
]6b8053f
]b0e686e
]v4.1.1
Compare Source
Patch Changes
b9f8bfb
: do not render default footer content if theFooter#children
prop was not provided8d878dd
: fix: show heading anchor when hover on heading itself20f7aaa
: fixUncaught Error: Minified React error #​418; visit https://react.dev/errors/418
error due mismatch of last updated time date57e98cd
: addLayout#sidebar.defaultOpen
prop to configure sidebar default open stated586bd6
: fixThemeSwitch#lite
prop29a44de
: fix regression from Nextra 3 settingtheme.collapsed?: boolean
in_meta
file for folders has no effect in sidebar5e86a14
: add missing transition state for<Navbar>
links and<TOC>
extra content links2ba45de
: allow change_meta
filetheme.toc
property withtype: 'page'
29a44de
]19578c3
]v4.1.0
Compare Source
Minor Changes
7caf059
: - generate unique anchor id for<summary>
elements based on its content at build time<summary>
Patch Changes
fa7f1ee
: fix cropped sidebar footer on desktop, when Nextra's<Banner>
is used7caf059
]v4.0.9
Compare Source
Patch Changes
e78f796
]ff007b2
]v4.0.8
Compare Source
Patch Changes
267ef81
]v4.0.7
Patch Changes
32e7d55
]695e428
]fc78033
]b2f2458
]v4.0.5
Compare Source
Patch Changes
14bf091
]v4.0.4
Compare Source
Patch Changes
5132295
: fix brokenshowLineNumbers
setting on code blocks5132295
: fix unable order _meta key withindex
name5132295
]5132295
]v4.0.3
Compare Source
v4.0.2
Compare Source
Patch Changes
865e2ab
: hideOn This Page
TOC's titlethemeConfig.toc.title
when there is no toc linksv4.0.1
Compare Source
Patch Changes
481e0d0
: fix syntax highlighting formdx
lang and improve docs for/docs/docs-theme/start
426cd66
: Remove margin-top from.nextra-steps
:before
pseudo selector481e0d0
]426cd66
]v4.0.0
Compare Source
Nextra 4.0 is just released!
🔹App Router
🔹Turbopack
🔹Compiled by React-Compiler
🔹New Rust-powered search engine Pagefind
🔹RSC i18n
🔹Server/Client components
🔹Smallest bundle size EVER for a Nextra-powered website
🔹GitHub Alert Syntax
🔹New _meta.global file
🔹… and more
Blog post announcement and migration guide.
Please refer to CHANGELOG.md for details.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.